import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)

// 新闻详情页
const News = () => import('@/views/news/index')

export default new Router({
  	routes: [
		{
			path: '/',
			redirect: '/news'
		},
		{
			path: '/news',
			name: 'news',
			component: News
		}
  	]
})
